package com.jsb.laundry.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jsb.laundry.model.dto.posts.PostUserFansQueryRequest;
import com.jsb.laundry.model.dto.posts.PostUserFollowQueryRequest;
import com.jsb.laundry.model.entity.UserDetail;

/**
* @author ching
* @description 针对表【user_detail(用户端个人详情表)】的数据库操作Service
* @createDate 2023-09-04 15:18:50
*/
public interface UserDetailService extends IService<UserDetail> {
    QueryWrapper<UserDetail> getFollowQueryWrapper(PostUserFollowQueryRequest postUserFansQueryRequest);
    QueryWrapper<UserDetail> getFansQueryWrapper(PostUserFansQueryRequest postUserFansQueryRequest);
    Page<UserDetail> listUserFollowByPage(IPage<UserDetail> page, Wrapper<UserDetail> queryWrapper, String userId);
    Page<UserDetail> listUserFansByPage(IPage<UserDetail> page, Wrapper<UserDetail> queryWrapper, String userId);
}
